// 本地存储方式 sessionStorage localStorage Cookie
// 如果现在用的是localStorage 又让改成sessionStorage 封装过后就改起来方便多了
// 这里封装成localStorage的存储方式

export const getStorage = (key) => {
  return localStorage.getItem(key)
}

export const setStorage = (key, val) => {
  return localStorage.setItem(key, val)
}

export const delStorage = (key) => {
  return localStorage.removeItem(key)
}
